package com.shopping.runbackground.coupons.service;

import com.shopping.entity.PageResult;
import com.shopping.runbackground.coupons.api.pojo.CommonCoupons;

import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CommonCouponsService {
    PageResult<CommonCoupons> findall(Integer currentPage, Integer pageSize);

    void insert(CommonCoupons commonCoupons);

    void update(CommonCoupons commonCoupons);

    void delete(Integer ccId);

    PageResult<CommonCoupons> findbynameordate(Map map) throws ParseException;
}
